package com.liu.demo.prository;

import com.liu.demo.pojo.StuScore;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StuScorePrository extends JpaRepository<StuScore,Integer> {

    List<StuScore> findAll();

    StuScore findByIdLike(Integer id);
    List<StuScore> findBySnoLike(Integer sno);

    List<StuScore> findBySnameLike(String sname);

    List<StuScore> findByCnameLike(String cname);
}
